<html>
<head>
	<title>Test Something</title>
	<script type="text/javascript" src="../../jsunit/app/jsUnitCore.js"></script>
	<script type="text/javascript" src="../../ajax_tester/TestPageHTML.js"></script>
</head>
<body>
	<script language="javascript">
		var testPageHTML = null;
		var MESSAGE_TYPE_ELEMENT = null;
		var mockDoc = null; 
	
		function setUp(){				
			MESSAGE_TYPE_ELEMENT = 'Rar';
			testPageHTML = new TestPageHTML();
			
			mockDoc = document.createDocumentFragment();			
			var childElem = document.createElement('div');

			childElem.setAttribute('id', "find-me");	
			childElem.appendChild( document.createTextNode("here I am") );
			mockDoc.appendChild(childElem);
		}	

		function testCreateMsgTypeElement() {

			var stringElement = "<rar class=\"label\">Rar</rar>";

			assertEquals(stringElement, createMsgTypeElement('Rar').innerHTML);
		}
		
		function testGetElementID(){
			assertEquals("here I am", getElementByID("find-me").innerHTML);
		}
		
		function testGetElementID(){
		//	assertEquals("here I am", getElementByID(this.mockDoc, "find-me").innerHTML);
		}
		
	
	</script>
	
	
	<p id="find-me">here I am</p>	
</body>
</html>